import {createStore, applyMiddleware} from "redux";

import countReducer from './count_reducer';

// 异步Action的插件
import {thunk} from "redux-thunk";

// 暴露store
export default createStore(countReducer, applyMiddleware(thunk));